package com.bw.dg.common;

import com.bw.dg.pojo.User;

import java.util.HashMap;
import java.util.Map;

public class CacheEnt {

    public static Map<String, User> userMap = new HashMap<>();

    public static void setUser(String token , User user){
        userMap.put(token,user);
    }

    public static User getUser(String token){
        return userMap.get(token);
    }

}
